package com.enjoyor.soa.traffic.server.efoms.dubbo.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.enjoyor.soa.traffic.api.dto.efoms.VideoGroupInfoDto;
import com.enjoyor.soa.traffic.api.service.dubbo.efoms.IDubboVideoGroupService;
import com.enjoyor.soa.traffic.server.efoms.dubbo.manage.ManageVideoGroupInfoService;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@SuppressWarnings("rawtypes")
@Service(version = "1.0.0", timeout = 4000)
public class DubboVideoGroupInfoService implements IDubboVideoGroupService{

	@Autowired
	private ManageVideoGroupInfoService manageVideoGroupInfoService;
	@Override
	public ResultPojo getVideoGroupInfo(String videoGroupId) {
		// TODO Auto-generated method stub
		return manageVideoGroupInfoService.getVideoGroupInfo(videoGroupId);
	}

	@Override
	public ResultPojo getVideoGroupInfoPage(String videoGroupId, String parentCode,String key,String devAreaCode,Page page) {
		// TODO Auto-generated method stub
		return manageVideoGroupInfoService.getVideoGroupInfoPage(videoGroupId, parentCode,key,devAreaCode,page);
	}

	@Override
	public ResultPojo getVideoGroupInfoList(String videoGroupId, String parentCode,String key,String devAreaCode) {
		// TODO Auto-generated method stub
		return manageVideoGroupInfoService.getVideoGroupInfoList(videoGroupId, parentCode,key,devAreaCode);
	}

	@Override
	public ResultPojo insertVideoGroupInfo(VideoGroupInfoDto videoGroupInfoDto,String userName) {
		// TODO Auto-generated method stub
		return manageVideoGroupInfoService.insertVideoGroupInfo(videoGroupInfoDto, userName);
	}

	@Override
	public ResultPojo updateVideoGroupInfo(VideoGroupInfoDto videoGroupInfoDto,String userName) {
		// TODO Auto-generated method stub
		return manageVideoGroupInfoService.updateVideoGroupInfo(videoGroupInfoDto, userName);
	}

	@Override
	public ResultPojo deleteVideoGroupInfo(String videoGroupId,String userName) {
		// TODO Auto-generated method stub
		return manageVideoGroupInfoService.deleteVideoGroupInfo(videoGroupId, userName);
	}

}
